using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace GaDeTrung
{
    public class Basket
    {
        private PictureBox ptBox;

        public int Top
        {
            set { ptBox.Top = value; }
            get { return ptBox.Top; }
        }

        public int Left
        {
            set { ptBox.Left = value; }
            get { return ptBox.Left; }
        }

        public Basket()
        {
            ptBox = new PictureBox();
            ptBox.Size = new Size(100, 81);
            ptBox.SizeMode = PictureBoxSizeMode.StretchImage;
            ptBox.Image = Properties.Resources.Ro;
            ptBox.BackColor = Color.Transparent;            
        }

        public void AddToParent(Form form)
        {
            form.Controls.Add(ptBox);
        }
    }
}
